nscl_logo_small.gif (2463 bytes)

eventlog - Log events from a SpectroDaq server.

 

Synopsis

/usr/opt/daq/bin/eventlog [-help] | [-source srcurl] [-ftp ftpurl] [-user username] [-pass password]

Detailed Description

eventlog logs event data from a spectrodaq server to a disk file.  Event files are written either in eventlog's current working directory, or alternatively via ftp in some remote directory.

Command Switches:

Switch

Parameter

Meaning

-help

 

eventlog prints a message describing how to use it and exits.

-source

URL of data source

Allows the URL of an alternative Spectrodaq server to be supplied. By default, the spectrodaq server in the localhost is accessed. (tcp://localhost:2602/).  Data can be gotten from remote hosts as well e.g.: tcp://spdaq05.nscl.msu.edu:2602/

-ftp

URL of ftp destination directory

Specifies the ftp URL of a directory into which the data will be written.  If omitted, data will be written locally to eventlog's current working directory.  If, for example, you want to write data to the event1 staging region use:
 -ftp tcp://daq1.nscl.msu.edu:ftp/usr/DAQ/event1

-user

FTP login username

Allows you to supply a username for the ftp login associated with the URL supplied by the -ftp switch.  This defaults to anonymous which in most cases is useless

-pass

FTP Login password

Allows you to supply a password for the ftp login associated with the URL supplied by the -ftp switch.  This defaults to user@nscl.msu.edu which in general is useless.

-one

N/A

Normally used by the event stager.  This switch tells eventlog to log a single run to disk After the end run record is written to file, an empty file named .done is created in the directory in which eventlog was started and eventlog exits.

Examples

eventlog                                                 # Record data locally from local data source
eventlog -source tcp://spdaq01.nscl.msu.edu:2602/        # Record data locally from spdaq01.
eventlog -ftp tcp://daq1.nscl.msu.edu/usr/DAQ/event1 \   # Record data in /usr/DAQ/event1 of the system
         -user event1 -pass event1pass                   # daq1.nscl.msu.edu as an ftp client logged in
                                                         # as event1 with the password event1pass.
                                                     

Last Modified: May 22, 2001by: fox@nscl.msu.edu
© Copyright NSCL 1999, All rights reserved